Class: Thesslstore::AuthRequest
- Inherits:
-
Object
- Object
- Thesslstore::AuthRequest
- Defined in:
- lib/thesslstore/auth_request.rb
Instance Method Summary collapse
Instance Method Details
#as_json(opts = nil) ⇒ Object
24 25 26 27 |
# File 'lib/thesslstore/auth_request.rb', line 24 def as_json(opts = nil) hash = super hash.reject! { |k,v| v.nil? } end |
#Token=(token) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/thesslstore/auth_request.rb', line 17 def Token=(token) self.PartnerCode = nil self.AuthToken = nil self.IsUsedForTokenSystem = true super token end |