class RestGear

Attributes

components[RW]
uuid[RW]

Public Class Methods

new(uuid, components) click to toggle source
# File lib/stickshift-controller/app/models/rest_gear.rb, line 5
def initialize(uuid, components)
  self.uuid = uuid
  self.components = components
end

Public Instance Methods

to_xml(options={}) click to toggle source
# File lib/stickshift-controller/app/models/rest_gear.rb, line 10
def to_xml(options={})
  options[:tag_name] = "gear"
  super(options)
end