Class: Braspag::Request::BraspagRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/braspag/api/request/braspag_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(merchant) ⇒ BraspagRequest

Returns a new instance of BraspagRequest.



12
13
14
# File 'lib/braspag/api/request/braspag_request.rb', line 12

def initialize(merchant)
    @merchant = merchant
end

Instance Attribute Details

#merchant=(value) ⇒ Object

Sets the attribute merchant

Parameters:

  • value

    the value to set the attribute merchant to.



9
10
11
# File 'lib/braspag/api/request/braspag_request.rb', line 9

def merchant=(value)
  @merchant = value
end