Module: PDC::Resource::RestApi
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
38 39 40 |
# File 'lib/pdc/resource/rest_api.rb', line 38 def url @url end |
Instance Method Details
#initialize(attr = {}) ⇒ Object
34 35 36 37 |
# File 'lib/pdc/resource/rest_api.rb', line 34 def initialize(attr = {}) super @url = connection.build_url(uri).to_s end |