Class: AMEE::Profile::Object
- Defined in:
- lib/amee/profile_object.rb
Instance Attribute Summary collapse
-
#profile_date ⇒ Object
readonly
Returns the value of attribute profile_date.
-
#profile_uid ⇒ Object
readonly
Returns the value of attribute profile_uid.
Attributes inherited from Object
#connection, #created, #modified, #name, #path, #uid
Instance Method Summary collapse
- #full_path ⇒ Object
-
#initialize(options = {}) ⇒ Object
constructor
A new instance of Object.
Constructor Details
#initialize(options = {}) ⇒ Object
Returns a new instance of Object.
5 6 7 8 9 |
# File 'lib/amee/profile_object.rb', line 5 def initialize( = {}) @profile_uid = [:profile_uid] @profile_date = [:profile_date] super end |
Instance Attribute Details
#profile_date ⇒ Object (readonly)
Returns the value of attribute profile_date.
12 13 14 |
# File 'lib/amee/profile_object.rb', line 12 def profile_date @profile_date end |
#profile_uid ⇒ Object (readonly)
Returns the value of attribute profile_uid.
11 12 13 |
# File 'lib/amee/profile_object.rb', line 11 def profile_uid @profile_uid end |
Instance Method Details
#full_path ⇒ Object
14 15 16 |
# File 'lib/amee/profile_object.rb', line 14 def full_path "/profiles#{'/' if @profile_uid}#{@profile_uid}#{@path}" end |