Class: ModernPricing::Relation
- Inherits:
-
Struct
- Object
- Struct
- ModernPricing::Relation
- Defined in:
- lib/modern-pricing/relation.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#href ⇒ Object
Returns the value of attribute href.
Instance Method Summary collapse
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client
3 4 5 |
# File 'lib/modern-pricing/relation.rb', line 3 def client @client end |
#href ⇒ Object
Returns the value of attribute href
3 4 5 |
# File 'lib/modern-pricing/relation.rb', line 3 def href @href end |
Instance Method Details
#get(options = {}) ⇒ Object
5 6 7 |
# File 'lib/modern-pricing/relation.rb', line 5 def get( = {}) client.get href, end |