Class: Latitude::API::Objects::Team

Inherits:
APIObject
  • Object
show all
Defined in:
lib/latitude/api/objects.rb

Constant Summary

Constants inherited from APIObject

APIObject::RESERVED

Instance Attribute Summary collapse

Attributes inherited from APIObject

#raw

Method Summary

Methods inherited from APIObject

#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap

Methods included from Attributes::ClassMethods

#attribute, #attribute_specs

Methods included from Attributes::InstanceMethods

#attribute_spec, #read_attribute, #wrap_attribute

Constructor Details

This class inherits a constructor from Latitude::API::APIObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Latitude::API::APIObject

Instance Attribute Details

#addressString (readonly)

Returns:

  • (String)


143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#currencyLatitude::API::Objects::Currency (readonly)



143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#descriptionString (readonly)

Returns:

  • (String)


143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#feature_flagsArray (readonly)

Returns:

  • (Array)


143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#idString (readonly)

Returns:

  • (String)


143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#limitsLatitude::API::Objects::Limits (readonly)



143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#nameString (readonly)

Returns:

  • (String)


143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#slugString (readonly)

Returns:

  • (String)


143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end

#statusString (readonly)

Returns:

  • (String)


143
144
145
146
147
148
149
150
151
152
153
# File 'lib/latitude/api/objects.rb', line 143

class Team < APIObject
  attribute :id, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :address, :string, read_only: true
  attribute :currency, Objects::Currency, read_only: true
  attribute :status, :string, read_only: true
  attribute :feature_flags, :array, read_only: true
  attribute :limits, Objects::Limits, read_only: true
end