Sha256: db73d7a498c84dfb2f2b7322b49c75fa31a9f57927e24f24195c68252e119ba0
Contents?: true
Size: 593 Bytes
Versions: 2
Compression:
Stored size: 593 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(filter: {}, includes: nil, limit: 180, sort: nil) resps = Spaceship::ConnectAPI.get_territories(filter: {}, includes: nil, limit: nil, sort: nil).all_pages return resps.flat_map(&:to_models) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fastlane_hotfix-2.165.1 | spaceship/lib/spaceship/connect_api/models/territory.rb |
fastlane_hotfix-2.165.0 | spaceship/lib/spaceship/connect_api/models/territory.rb |