Module: Gahh::ApiScopeParser

Defined in:
lib/gahh/api_scope_parser.rb

Class Method Summary collapse

Class Method Details

.convert_api_scope_to_uri(api_scope) ⇒ Object



9
10
11
# File 'lib/gahh/api_scope_parser.rb', line 9

def self.convert_api_scope_to_uri(api_scope)
  return "https://www.googleapis.com/auth/#{api_scope[:api]}.readonly" if api_scope[:scope] == "read"
end

.testing_method(word) ⇒ Object



5
6
7
# File 'lib/gahh/api_scope_parser.rb', line 5

def self.testing_method(word)
  puts "testing with #{word}"
end