Class: RedboothRuby::Me

Inherits:
Base
  • Object
show all
Includes:
Operations::Delete, Operations::Show, Operations::Update
Defined in:
lib/redbooth-ruby/me.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#created_time, #session

Class Method Summary collapse

Methods included from Operations::Delete

included

Methods included from Operations::Update

included

Methods included from Operations::Show

included

Methods inherited from Base

#errors, #initialize, #parse_timestamps, #set_attributes, #valid?

Methods included from Operations::Base

included

Constructor Details

This class inherits a constructor from RedboothRuby::Base

Instance Attribute Details

#emailObject

Returns the value of attribute email.



7
8
9
# File 'lib/redbooth-ruby/me.rb', line 7

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



7
8
9
# File 'lib/redbooth-ruby/me.rb', line 7

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/redbooth-ruby/me.rb', line 7

def id
  @id
end

#last_nameObject

Returns the value of attribute last_name.



7
8
9
# File 'lib/redbooth-ruby/me.rb', line 7

def last_name
  @last_name
end

Class Method Details

.api_member_url(id = nil, method = nil) ⇒ Object



10
11
12
# File 'lib/redbooth-ruby/me.rb', line 10

def api_member_url(id = nil, method = nil)
  'me'
end