Class: Getnet::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/getnet/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
# File 'lib/getnet/config.rb', line 8

def initialize
    @environment = :sandbox
end

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id.



3
4
5
# File 'lib/getnet/config.rb', line 3

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



4
5
6
# File 'lib/getnet/config.rb', line 4

def client_secret
  @client_secret
end

#environmentObject

Returns the value of attribute environment.



6
7
8
# File 'lib/getnet/config.rb', line 6

def environment
  @environment
end

#seller_idObject

Returns the value of attribute seller_id.



5
6
7
# File 'lib/getnet/config.rb', line 5

def seller_id
  @seller_id
end