Class: Jbr::Resource
- Inherits:
-
Object
- Object
- Jbr::Resource
- Defined in:
- lib/jbr/resource.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(oauth:) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(oauth:) ⇒ Resource
Returns a new instance of Resource.
3 4 5 |
# File 'lib/jbr/resource.rb', line 3 def initialize(oauth:) @oauth = oauth end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/jbr/resource.rb', line 7 def id @id end |