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



140
141
142
# File 'lib/linode.rb', line 140

def type
  @table[:type]
end