class PlatformAPI::Region
A region represents a geographic location in which your application may run.
Public Class Methods
new(client)
click to toggle source
# File lib/platform-api/client.rb, line 2675 def initialize(client) @client = client end
Public Instance Methods
info(region_id_or_region_name)
click to toggle source
Info for existing region.
@param region_id_or_region_name: unique identifier of region or unique name of region
# File lib/platform-api/client.rb, line 2682 def info(region_id_or_region_name) @client.region.info(region_id_or_region_name) end
list()
click to toggle source
List existing regions.
# File lib/platform-api/client.rb, line 2687 def list() @client.region.list() end