Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 490 Bytes

File metadata and controls

18 lines (12 loc) · 490 Bytes

Zernio::GeoRestriction

Properties

Name Type Description Notes
countries Array<String> ISO 3166-1 alpha-2 country codes (uppercase). Only users in these countries can see the post. Maximum 25 countries per post. Example: [&quot;US&quot;, &quot;CA&quot;, &quot;GB&quot;, &quot;ES&quot;].

Example

require 'zernio-sdk'

instance = Zernio::GeoRestriction.new(
  countries: [US, CA, GB]
)