class Xdelivery::API::Response::Shops

Constants

Shop

Public Instance Methods

shops() click to toggle source
# File lib/xdelivery/api/response/shops.rb, line 12
def shops
  data.map do |setting|
    Shop.new(setting['id'], setting['title'], setting['pay2go_merchant_id'], setting['default_shop'])
  end
end
status?() click to toggle source
# File lib/xdelivery/api/response/shops.rb, line 8
def status?
  auth?
end