Class: Beepsend::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/beepsend/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/beepsend/configuration.rb', line 5

def initialize
  @endpoint = 'https://api.beepsend.com/2/send/'
  @encoding = 'UTF-8'
  @receive_dlr = 0
end

Instance Attribute Details

#encodingObject

Returns the value of attribute encoding.



3
4
5
# File 'lib/beepsend/configuration.rb', line 3

def encoding
  @encoding
end

#endpointObject

Returns the value of attribute endpoint.



3
4
5
# File 'lib/beepsend/configuration.rb', line 3

def endpoint
  @endpoint
end

#fromObject

Returns the value of attribute from.



3
4
5
# File 'lib/beepsend/configuration.rb', line 3

def from
  @from
end

#receive_dlrObject

Returns the value of attribute receive_dlr.



3
4
5
# File 'lib/beepsend/configuration.rb', line 3

def receive_dlr
  @receive_dlr
end

#tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/beepsend/configuration.rb', line 3

def token
  @token
end