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.
6 7 8 |
# File 'lib/hubba/github.rb', line 6 def initialize( data ) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/hubba/github.rb', line 5 def data @data end |