Class: Hubba::Resource
- Inherits:
-
Object
- Object
- Hubba::Resource
- Defined in:
- lib/hubba/github.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Resource
constructor
A new instance of Resource.
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
#data ⇒ Object (readonly)
Returns the value of attribute data.
38 39 40 |
# File 'lib/hubba/github.rb', line 38 def data @data end |