Class: PayuPl::Shops::Retrieve

Inherits:
Operations::Base show all
Defined in:
lib/payu_pl/shops/retrieve.rb

Instance Method Summary collapse

Instance Method Details

#call(shop_id) ⇒ Object



6
7
8
9
# File 'lib/payu_pl/shops/retrieve.rb', line 6

def call(shop_id)
  validate_id!(shop_id, input_key: :shop_id)
  transport.request(:get, Endpoints.shop(shop_id))
end