Class: Rest::BackingGem

Inherits:
Object
  • Object
show all
Defined in:
lib/rest/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

Returns the value of attribute gem_name.



30
31
32
# File 'lib/rest/client.rb', line 30

def gem_name
  @gem_name
end

#nameObject

Returns the value of attribute name.



30
31
32
# File 'lib/rest/client.rb', line 30

def name
  @name
end