Sha256: 5e79a00ac83be07d459e51ac1753c07320b73b45979652db8eae19751a9bc1c5

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

module Economic
  module Invoices
    class DraftsRepo < Economic::Invoices::Repo
      def self.template(customer)
        response = send_request(method: :get, url: customer.templates["invoice"])

        modelize_response(response)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
economic-rest-0.6.3 lib/economic/invoices/drafts_repo.rb
economic-rest-0.6.2 lib/economic/invoices/drafts_repo.rb