Class: Linode::OpenStruct
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Linode::OpenStruct
- Defined in:
- lib/linode.rb
Overview
some of our Linode API data results include a ‘type’ data member. OpenStruct will have problems providing a .type method, so we special-case this.
Instance Method Summary collapse
Instance Method Details
#type ⇒ Object
144 145 146 |
# File 'lib/linode.rb', line 144 def type @table[:type] end |