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.
Methods inherited from Object
Methods included from ParseHelper
#load_xml_doc, #node_value, #xmlpathpreamble
Constructor Details
#initialize(options = {}) ⇒ Object
Returns a new instance of Object.
8 9 10 11 12 |
# File 'lib/amee/profile_object.rb', line 8 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.
15 16 17 |
# File 'lib/amee/profile_object.rb', line 15 def profile_date @profile_date end |
#profile_uid ⇒ Object (readonly)
Returns the value of attribute profile_uid.
14 15 16 |
# File 'lib/amee/profile_object.rb', line 14 def profile_uid @profile_uid end |
Instance Method Details
#full_path ⇒ Object
17 18 19 |
# File 'lib/amee/profile_object.rb', line 17 def full_path "/profiles#{'/' if @profile_uid}#{@profile_uid}#{@path}" end |