Class: Hubba::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/hubba/github.rb

Direct Known Subclasses

Orgs, Repos

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Resource

Returns a new instance of Resource.



39
40
41
# File 'lib/hubba/github.rb', line 39

def initialize( data )
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



38
39
40
# File 'lib/hubba/github.rb', line 38

def data
  @data
end