Sha256: f81ce1b258448dc379c869f17a06171c9b1a7f07b5d4a1393a0e1070da11dece

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true
module FinApps
  module REST
    class OrderStatuses < FinAppsCore::REST::Resources # :nodoc:
      using ObjectExtensions
      using StringExtensions

      def show(id)
        not_blank(id, :id)

        path = "orders/#{ERB::Util.url_encode(id)}/status"
        super nil, path
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
finapps-2.2.7 lib/finapps/rest/order_statuses.rb
finapps-2.2.6 lib/finapps/rest/order_statuses.rb
finapps-2.2.5 lib/finapps/rest/order_statuses.rb
finapps-2.2.4 lib/finapps/rest/order_statuses.rb
finapps-2.2.3 lib/finapps/rest/order_statuses.rb
finapps-2.2.2 lib/finapps/rest/order_statuses.rb
finapps-2.2.1 lib/finapps/rest/order_statuses.rb