Sha256: d1b7ec99cc58041f6597e74353c20e3c2d16b8dcca20d021cb1fd6658e3aa964

Contents?: true

Size: 583 Bytes

Versions: 3

Compression:

Stored size: 583 Bytes

Contents

PushToSNS.configure do
  read_device_id { |device| fail PushToSNS::Messages::READ_DEVICE_ID_NOT_IMPLEMENTED }
  read_source { |device| fail PushToSNS::Messages::READ_SOURCE_NOT_IMPLEMENTED }
  read_endpoint_arn { |device| fail PushToSNS::Messages::READ_ENDPOINT_ARN_NOT_IMPLEMENTED }
  read_platform_arn { |device| fail PushToSNS::Messages::READ_PLATFORM_ARN_NOT_IMPLEMENTED }
  read_ios_apns { |device| fail PushToSNS::Messages::READ_IOS_APNS_NOT_IMPLEMENTED }

  save_endpoint_arn do |device, endpoint_arn|
    fail PushToSNS::Messages::SAVE_ENDPOINT_ARN_NOT_IMPLEMENTED
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
push_to_sns-0.2.0 lib/rails/generators/push_to_sns/templates/config/initializers/push_to_sns.rb
push_to_sns-0.1.1 lib/rails/generators/push_to_sns/templates/config/initializers/push_to_sns.rb
push_to_sns-0.1.0 lib/rails/generators/push_to_sns/templates/config/initializers/push_to_sns.rb