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
140 141 142 |
# File 'lib/linode.rb', line 140 def type @table[:type] end |