Class: Asana::Resources::Typeahead

Inherits:
TypeaheadBase show all
Defined in:
lib/asana/resources/typeahead.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from TypeaheadBase

inherited, typeahead_for_workspace

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

#gidObject (readonly)


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

def gid
  @gid
end

#nameObject (readonly)


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

def name
  @name
end

#resource_typeObject (readonly)


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

def resource_type
  @resource_type
end

Class Method Details

.plural_nameObject

Returns the plural name of the resource.


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

def plural_name
  'typeaheads'
end