class RestEstimates

Attributes

Public Class Methods

new(url) click to toggle source
# File lib/stickshift-controller/app/models/rest_estimates.rb, line 4
def initialize(url)
  self.links = {
    "GET_ESTIMATE" => Link.new("Get application estimate", "GET", URI::join(url, "estimates/application"), [
      Param.new("descriptor", "string", "application requirements")
    ]) 
  }
end

Public Instance Methods

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