Class: Linode::OpenStruct

Inherits:
OpenStruct
  • Object
show all
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

#typeObject



144
145
146
# File 'lib/linode.rb', line 144

def type
  @table[:type]
end