Class: MockChargebee::Util::ParsedPath
- Inherits:
-
Struct
- Object
- Struct
- MockChargebee::Util::ParsedPath
- Defined in:
- lib/mock_chargebee/util.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#resource ⇒ Object
Returns the value of attribute resource.
-
#rest ⇒ Object
Returns the value of attribute rest.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
14 15 16 |
# File 'lib/mock_chargebee/util.rb', line 14 def id @id end |
#resource ⇒ Object
Returns the value of attribute resource
14 15 16 |
# File 'lib/mock_chargebee/util.rb', line 14 def resource @resource end |
#rest ⇒ Object
Returns the value of attribute rest
14 15 16 |
# File 'lib/mock_chargebee/util.rb', line 14 def rest @rest end |
Instance Method Details
#sub_command ⇒ Object
15 16 17 |
# File 'lib/mock_chargebee/util.rb', line 15 def sub_command rest.nil? ? nil : "_#{rest}" end |