Class: MachineClassifier::Authorizer

Inherits:
Struct
  • Object
show all
Defined in:
lib/machine_classifier/authorizer.rb

Constant Summary collapse

SERVICE_URL =
'https://www.googleapis.com/auth/prediction'

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configurationObject

Returns the value of attribute configuration

Returns:

  • (Object)

    the current value of configuration



2
3
4
# File 'lib/machine_classifier/authorizer.rb', line 2

def configuration
  @configuration
end

Instance Method Details

#authorizeObject



5
6
7
# File 'lib/machine_classifier/authorizer.rb', line 5

def authorize
  .authorize
end