Class: Tracky::Group

Inherits:
BaseAPI show all
Defined in:
lib/tracky/group.rb

Constant Summary

Constants inherited from BaseAPI

BaseAPI::URI

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from BaseAPI

get, url

Instance Attribute Details

#bioObject

Returns the value of attribute bio.



3
4
5
# File 'lib/tracky/group.rb', line 3

def bio
  @bio
end

#deletedObject

Returns the value of attribute deleted.



3
4
5
# File 'lib/tracky/group.rb', line 3

def deleted
  @deleted
end

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/tracky/group.rb', line 3

def email
  @email
end

#iconObject

Returns the value of attribute icon.



3
4
5
# File 'lib/tracky/group.rb', line 3

def icon
  @icon
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/tracky/group.rb', line 3

def id
  @id
end

#latitudeObject

Returns the value of attribute latitude.



3
4
5
# File 'lib/tracky/group.rb', line 3

def latitude
  @latitude
end

#locationObject

Returns the value of attribute location.



3
4
5
# File 'lib/tracky/group.rb', line 3

def location
  @location
end

#longitudeObject

Returns the value of attribute longitude.



3
4
5
# File 'lib/tracky/group.rb', line 3

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/tracky/group.rb', line 3

def name
  @name
end

#path_vanityObject

Returns the value of attribute path_vanity.



3
4
5
# File 'lib/tracky/group.rb', line 3

def path_vanity
  @path_vanity
end

#phoneObject

Returns the value of attribute phone.



3
4
5
# File 'lib/tracky/group.rb', line 3

def phone
  @phone
end

#privateObject

Returns the value of attribute private.



3
4
5
# File 'lib/tracky/group.rb', line 3

def private
  @private
end

#typeObject

Returns the value of attribute type.



3
4
5
# File 'lib/tracky/group.rb', line 3

def type
  @type
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/tracky/group.rb', line 3

def url
  @url
end

#vanityObject

Returns the value of attribute vanity.



3
4
5
# File 'lib/tracky/group.rb', line 3

def vanity
  @vanity
end

Class Method Details

.allObject



9
10
11
# File 'lib/tracky/group.rb', line 9

def self.all
  get(url("groups"))
end