Module: Collmex
- Defined in:
- lib/collmex.rb,
lib/collmex/api.rb,
lib/collmex/api.rb,
lib/collmex/api.rb,
lib/collmex/request.rb
Defined Under Namespace
Class Attribute Summary collapse
-
.customer_id ⇒ Object
Returns the value of attribute customer_id.
-
.password ⇒ Object
Returns the value of attribute password.
-
.username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
Class Attribute Details
.customer_id ⇒ Object
Returns the value of attribute customer_id.
8 9 10 |
# File 'lib/collmex.rb', line 8 def customer_id @customer_id end |
.password ⇒ Object
Returns the value of attribute password.
8 9 10 |
# File 'lib/collmex.rb', line 8 def password @password end |
.username ⇒ Object
Returns the value of attribute username.
8 9 10 |
# File 'lib/collmex.rb', line 8 def username @username end |
Class Method Details
.csv_opts ⇒ Object
22 23 24 25 26 |
# File 'lib/collmex.rb', line 22 def csv_opts { :col_sep => ";" } end |
.reset_login_data ⇒ Object
16 17 18 19 20 |
# File 'lib/collmex.rb', line 16 def reset_login_data Collmex.username = nil Collmex.password = nil Collmex.customer_id = nil end |
.setup_login_data(logindata) ⇒ Object
10 11 12 13 14 |
# File 'lib/collmex.rb', line 10 def setup_login_data(logindata) Collmex.username = logindata[:username] Collmex.password = logindata[:password] Collmex.customer_id = logindata[:customer_id] end |