class PusherConfig

Attributes

authorization_url[RW]
key[RW]

Public Class Methods

new(config) click to toggle source
# File lib/motion-pusher/motion-pusher.rb, line 8
def initialize(config)
  @config = config
end

Public Instance Methods

authorization_url=(value) click to toggle source
# File lib/motion-pusher/motion-pusher.rb, line 17
def authorization_url=(value)
  @config.info_plist['MotionPusher'] ||= {}
  @config.info_plist['MotionPusher']['authorization_url'] = value
end
key=(value) click to toggle source
# File lib/motion-pusher/motion-pusher.rb, line 12
def key=(value)
  @config.info_plist['MotionPusher'] ||= {}
  @config.info_plist['MotionPusher']['key'] = value
end