Class: Copy::User

Inherits:
Base
  • Object
show all
Includes:
Operations::Show, Operations::Update
Defined in:
lib/copy/user.rb

Instance Attribute Summary collapse

Class Method Summary collapse

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 Copy::Base

Instance Attribute Details

#confirmedObject

Returns the value of attribute confirmed.



6
7
8
# File 'lib/copy/user.rb', line 6

def confirmed
  @confirmed
end

#created_timeObject

Returns the value of attribute created_time.



6
7
8
# File 'lib/copy/user.rb', line 6

def created_time
  @created_time
end

#developerObject

Returns the value of attribute developer.



6
7
8
# File 'lib/copy/user.rb', line 6

def developer
  @developer
end

#emailObject

Returns the value of attribute email.



6
7
8
# File 'lib/copy/user.rb', line 6

def email
  @email
end

#emailsObject

Returns the value of attribute emails.



6
7
8
# File 'lib/copy/user.rb', line 6

def emails
  @emails
end

#first_nameObject

Returns the value of attribute first_name.



6
7
8
# File 'lib/copy/user.rb', line 6

def first_name
  @first_name
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/copy/user.rb', line 6

def id
  @id
end

#last_nameObject

Returns the value of attribute last_name.



6
7
8
# File 'lib/copy/user.rb', line 6

def last_name
  @last_name
end

#storageObject

Returns the value of attribute storage.



6
7
8
# File 'lib/copy/user.rb', line 6

def storage
  @storage
end

#user_idObject

Returns the value of attribute user_id.



6
7
8
# File 'lib/copy/user.rb', line 6

def user_id
  @user_id
end

Class Method Details

.api_resource_name(method = nil) ⇒ Object

TODO: should be users



17
18
19
# File 'lib/copy/user.rb', line 17

def api_resource_name(method=nil)
  'user'
end