Sha256: ef5f1696e36294739bd3a706dac23b9663be7b13ee9936557b56b9d6d148e154
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
require_relative '../model' module Spaceship class ConnectAPI class Territory include Spaceship::ConnectAPI::Model attr_accessor :currency attr_mapping({ "currency" => "currency" }) def self.type return "territories" end # # API # def self.all(client: nil, filter: {}, includes: nil, limit: 180, sort: nil) client ||= Spaceship::ConnectAPI resps = client.get_territories(filter: {}, includes: nil, limit: nil, sort: nil).all_pages return resps.flat_map(&:to_models) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane_hotfix-2.187.0 | spaceship/lib/spaceship/connect_api/models/territory.rb |