Sha256: 9a8759379750fa0e35efa835372946f5dc023a2d61131814da6f3a2a67d7ca4b
Contents?: true
Size: 444 Bytes
Versions: 4
Compression:
Stored size: 444 Bytes
Contents
module KashflowApi class Quote < KashflowApi::Invoice def self.find_by_id(search) result = KashflowApi.api.get_quote_by_id(search) self.build_from_soap(result.basic_hash["soap:Envelope"]["soap:Body"]["GetQuoteByIDResponse"]["GetQuoteByIDResult"]) end private def blank_object_hash {}.merge(KashflowApi::Quote.find_by_id("0").hash) end end end
Version data entries
4 entries across 4 versions & 1 rubygems