Class: Copy::User
- Includes:
- Operations::Show, Operations::Update
- Defined in:
- lib/copy/user.rb
Instance Attribute Summary collapse
-
#confirmed ⇒ Object
Returns the value of attribute confirmed.
-
#created_time ⇒ Object
Returns the value of attribute created_time.
-
#developer ⇒ Object
Returns the value of attribute developer.
-
#email ⇒ Object
Returns the value of attribute email.
-
#emails ⇒ Object
Returns the value of attribute emails.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#storage ⇒ Object
Returns the value of attribute storage.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Class Method Summary collapse
-
.api_resource_name(method = nil) ⇒ Object
TODO: should be users.
Methods included from Operations::Update
Methods included from Operations::Show
Methods inherited from Base
#errors, #initialize, #parse_timestamps, #set_attributes, #valid?
Methods included from Operations::Base
Constructor Details
This class inherits a constructor from Copy::Base
Instance Attribute Details
#confirmed ⇒ Object
Returns the value of attribute confirmed.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def confirmed @confirmed end |
#created_time ⇒ Object
Returns the value of attribute created_time.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def created_time @created_time end |
#developer ⇒ Object
Returns the value of attribute developer.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def developer @developer end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def email @email end |
#emails ⇒ Object
Returns the value of attribute emails.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def emails @emails end |
#first_name ⇒ Object
Returns the value of attribute first_name.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def first_name @first_name end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def id @id end |
#last_name ⇒ Object
Returns the value of attribute last_name.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def last_name @last_name end |
#storage ⇒ Object
Returns the value of attribute storage.
6 7 8 |
# File 'lib/copy/user.rb', line 6 def storage @storage end |
#user_id ⇒ Object
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 |