Sha256: 5ea1298964a41c3c9b227f3e8861a96287d1141056f03c3b5943035d99c38dc9

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

module PartyBus
  class Configuration
    attr_accessor :api_url
    attr_accessor :connection_id
    attr_accessor :enabled
    attr_accessor :secret
    attr_accessor :stripped_attributes

    def initialize
      self.api_url = "https://partybus-api.aridsoftware.com"
      self.connection_id = nil
      self.enabled = ENV['RUBY_ENV'] != 'test' && ENV['RAILS_ENV'] != 'test'
      self.secret = nil
      self.stripped_attributes = []
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
party_bus-0.4.0 lib/party_bus/configuration.rb
party_bus-0.3.0 lib/party_bus/configuration.rb