module Pushme::Aws

Constants

VERSION

Public Class Methods

android_arn() click to toggle source
# File lib/pushme/aws.rb, line 93
def android_arn
  @config[:arn][:android]
end
android_arn=(android_arn) click to toggle source
# File lib/pushme/aws.rb, line 65
def android_arn=(android_arn)
  raise ArgumentError, 'Argument must be a string' unless android_arn.is_a?(String)

  @config[:arn][:android] = android_arn
end
config() click to toggle source
# File lib/pushme/aws.rb, line 89
def config
  @config
end
ios_arn() click to toggle source
# File lib/pushme/aws.rb, line 97
def ios_arn
  @config[:arn][:ios]
end
ios_arn=(ios_arn) click to toggle source
# File lib/pushme/aws.rb, line 71
def ios_arn=(ios_arn)
  raise ArgumentError, 'Argument must be a string' unless ios_arn.is_a?(String)

  @config[:arn][:ios] = ios_arn
end
ios_sandbox() click to toggle source
# File lib/pushme/aws.rb, line 101
def ios_sandbox
  @config[:ios_sandbox] || false
end
ios_sandbox=(ios_sandbox) click to toggle source
# File lib/pushme/aws.rb, line 77
def ios_sandbox=(ios_sandbox)
  raise ArgumentError, 'Argument must be a boolean' unless ios_sandbox.is_a?(TrueClass) || ios_sandbox.is_a?(FalseClass)

  @config[:ios_sandbox] = ios_sandbox
end
region() click to toggle source
# File lib/pushme/aws.rb, line 105
def region
  @config[:region]
end
region=(region) click to toggle source
# File lib/pushme/aws.rb, line 83
def region=(region)
  raise ArgumentError, 'Argument must be a string' unless region.is_a?(String)

  @config[:region] = region
end
setup() { |self| ... } click to toggle source
# File lib/pushme/aws.rb, line 61
def setup
  yield self
end