class Authentise::Upload

DEPRECATED

Attributes

cents[R]
currency[R]
email[R]
stl_file[R]

Public Class Methods

new(stl_file: nil, email: nil, cents: nil, currency: nil, token: nil) click to toggle source
# File lib/authentise/upload.rb, line 8
def initialize(stl_file: nil,
               email: nil,
               cents: nil,
               currency: nil,
               token: nil)
  @stl_file = stl_file
  @email = email
  @cents = cents
  @currency = currency
  @token = token
end

Public Instance Methods

status() click to toggle source
# File lib/authentise/upload.rb, line 32
def status
  @status ||= API.get_status(token: token)
end
token() click to toggle source
# File lib/authentise/upload.rb, line 20
def token
  @token ||= API.create_token
end