Class: PivotalAPI::Me

Inherits:
Person show all
Defined in:
lib/pivotal-tracker-api/me.rb

Instance Attribute Summary collapse

Attributes inherited from Person

#email, #id, #initials, #kind, #name, #username

Class Method Summary collapse

Methods inherited from Person

fields, unknown

Methods inherited from Base

from_json, #initialize, #to_json

Constructor Details

This class inherits a constructor from PivotalAPI::Base

Instance Attribute Details

#api_tokenObject

Returns the value of attribute api_token.



4
5
6
# File 'lib/pivotal-tracker-api/me.rb', line 4

def api_token
  @api_token
end

#created_atObject

Returns the value of attribute created_at.



4
5
6
# File 'lib/pivotal-tracker-api/me.rb', line 4

def created_at
  @created_at
end

#has_google_identityObject

Returns the value of attribute has_google_identity.



4
5
6
# File 'lib/pivotal-tracker-api/me.rb', line 4

def has_google_identity
  @has_google_identity
end

#projectsObject

Returns the value of attribute projects.



4
5
6
# File 'lib/pivotal-tracker-api/me.rb', line 4

def projects
  @projects
end

#receives_in_app_notificationsObject

Returns the value of attribute receives_in_app_notifications.



4
5
6
# File 'lib/pivotal-tracker-api/me.rb', line 4

def receives_in_app_notifications
  @receives_in_app_notifications
end

#time_zoneObject

Returns the value of attribute time_zone.



4
5
6
# File 'lib/pivotal-tracker-api/me.rb', line 4

def time_zone
  @time_zone
end

#updated_atObject

Returns the value of attribute updated_at.



4
5
6
# File 'lib/pivotal-tracker-api/me.rb', line 4

def updated_at
  @updated_at
end

Class Method Details

.retrieve(username, password) ⇒ Object



7
8
9
# File 'lib/pivotal-tracker-api/me.rb', line 7

def self.retrieve(username, password)
  Service.me(username, password)
end