Class: Asana::Resources::EventResponse

Inherits:
EventsBase show all
Defined in:
lib/asana/resources/events.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from EventsBase

get_events, inherited

Methods inherited from Resource

#initialize, #method_missing, #refresh, #respond_to_missing?, #to_h, #to_s

Methods included from ResponseHelper

#parse

Constructor Details

This class inherits a constructor from Asana::Resources::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Asana::Resources::Resource

Instance Attribute Details

#actionObject (readonly)


14
15
16
# File 'lib/asana/resources/events.rb', line 14

def action
  @action
end

#created_atObject (readonly)


18
19
20
# File 'lib/asana/resources/events.rb', line 18

def created_at
  @created_at
end

#parentObject (readonly)


16
17
18
# File 'lib/asana/resources/events.rb', line 16

def parent
  @parent
end

#resourceObject (readonly)


10
11
12
# File 'lib/asana/resources/events.rb', line 10

def resource
  @resource
end

#typeObject (readonly)


12
13
14
# File 'lib/asana/resources/events.rb', line 12

def type
  @type
end

#userObject (readonly)


8
9
10
# File 'lib/asana/resources/events.rb', line 8

def user
  @user
end

Class Method Details

.plural_nameObject

Returns the plural name of the resource.


22
23
24
# File 'lib/asana/resources/events.rb', line 22

def plural_name
  'event_responses'
end