Class: Dataverse::Base
- Inherits:
-
Object
- Object
- Dataverse::Base
- Extended by:
- Forwardable
- Defined in:
- lib/dataverse/base.rb
Instance Attribute Summary collapse
-
#api_data ⇒ Object
readonly
Returns the value of attribute api_data.
Instance Method Summary collapse
Instance Attribute Details
#api_data ⇒ Object (readonly)
Returns the value of attribute api_data.
13 14 15 |
# File 'lib/dataverse/base.rb', line 13 def api_data @api_data end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 |
# File 'lib/dataverse/base.rb', line 34 def ==(other) self.api_data == other.api_data end |
#eql?(other) ⇒ Boolean
38 39 40 |
# File 'lib/dataverse/base.rb', line 38 def eql?(other) self == other end |
#hash ⇒ Object
42 43 44 |
# File 'lib/dataverse/base.rb', line 42 def hash api_data.hash end |
#refresh ⇒ Object
17 18 19 |
# File 'lib/dataverse/base.rb', line 17 def refresh init(get_data) end |