Class: Rest::BackingGem
- Inherits:
-
Object
- Object
- Rest::BackingGem
- Defined in:
- lib/rest/client.rb
Instance Attribute Summary collapse
-
#gem_name ⇒ Object
Returns the value of attribute gem_name.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, gem_name) ⇒ BackingGem
constructor
A new instance of BackingGem.
Constructor Details
#initialize(name, gem_name) ⇒ BackingGem
Returns a new instance of BackingGem.
32 33 34 35 |
# File 'lib/rest/client.rb', line 32 def initialize(name, gem_name) @name = name @gem_name = gem_name end |
Instance Attribute Details
#gem_name ⇒ Object
Returns the value of attribute gem_name.
30 31 32 |
# File 'lib/rest/client.rb', line 30 def gem_name @gem_name end |
#name ⇒ Object
Returns the value of attribute name.
30 31 32 |
# File 'lib/rest/client.rb', line 30 def name @name end |