Class: Clubhouse::Category

Inherits:
ClubhouseResource show all
Defined in:
lib/clubhouse2/category.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ClubhouseResource

#api_url, #delete!, #flush, inherited, #initialize, property_filter_create, property_filter_update, #resolve_to_ids, #set_properties, subclass, #to_h, #update, validate, #value_format

Constructor Details

This class inherits a constructor from Clubhouse::ClubhouseResource

Instance Attribute Details

#archivedObject (readonly)

Returns the value of attribute archived.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def archived
  @archived
end

#colorObject (readonly)

Returns the value of attribute color.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def color
  @color
end

#created_atObject (readonly)

Returns the value of attribute created_at.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def created_at
  @created_at
end

#entity_typeObject (readonly)

Returns the value of attribute entity_type.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def entity_type
  @entity_type
end

#external_idObject (readonly)

Returns the value of attribute external_id.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def external_id
  @external_id
end

#idObject (readonly)

Returns the value of attribute id.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def type
  @type
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



3
4
5
# File 'lib/clubhouse2/category.rb', line 3

def updated_at
  @updated_at
end

Class Method Details

.api_urlObject



5
6
7
# File 'lib/clubhouse2/category.rb', line 5

def self.api_url
	'categories'
end