class XeroGateway::UnparseableResponse

Public Class Methods

new(root_element_name) click to toggle source
# File lib/xero_gateway/exceptions.rb, line 25
def initialize(root_element_name)
  @root_element_name = root_element_name
end

Public Instance Methods

message() click to toggle source
# File lib/xero_gateway/exceptions.rb, line 29
def message
  "A root element of #{@root_element_name} was returned, and we don't understand that!"
end