Class: SuperShuttle3

Inherits:
Object
  • Object
show all
Defined in:
lib/super_shuttle3.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = 'sandbox', key = 'sandbox') ⇒ SuperShuttle3

Returns a new instance of SuperShuttle3.



10
11
12
13
14
# File 'lib/super_shuttle3.rb', line 10

def initialize(id = 'sandbox', key = 'sandbox')
  @client_id = id
  @client_key = key
  @vendor = 'ss'
end

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id.



3
4
5
# File 'lib/super_shuttle3.rb', line 3

def client_id
  @client_id
end

#client_keyObject

Returns the value of attribute client_key.



3
4
5
# File 'lib/super_shuttle3.rb', line 3

def client_key
  @client_key
end

#tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/super_shuttle3.rb', line 3

def token
  @token
end

#vendorObject

Returns the value of attribute vendor.



3
4
5
# File 'lib/super_shuttle3.rb', line 3

def vendor
  @vendor
end

Class Method Details

.hiObject



6
7
8
# File 'lib/super_shuttle3.rb', line 6

def self.hi
  puts "Hello world! - super shuttle!! \n Vendor = #{@vendor.to_s} \n id : #{@client_id.to_s} \n key : #{@client_key.to_s}"
end

Instance Method Details

#generate_tokenObject



20
21
22
# File 'lib/super_shuttle3.rb', line 20

def generate_token
  
end

#new_hiObject



16
17
18
# File 'lib/super_shuttle3.rb', line 16

def new_hi
  puts "Hello world! - super shuttle!! \n Vendor = #{@vendor} \n id : #{@client_id} \n key : #{@client_key}"
end