Sha256: 0306c9e329e333419be7f54a519fca51594f2df5a4321eb8ac0b27a9b7a7c8d2
Contents?: true
Size: 653 Bytes
Versions: 1
Compression:
Stored size: 653 Bytes
Contents
class Softledger # include 'http' attr_reader :access_token def initialize(params) @username = params[:username] @password = params[:password] @access_token = authenticate end def self.hi(language) translator = Translator.new(language) translator.hi end private def authenticate # url = "https://softledger.auth0.com/oauth/token" # { # "grant_type": "string", # "tenantUUID": "string", # "audience": "string", # "client_id": "string", # "client_secret": "string" # } return "Hello World of : #{@username} " end end require 'softledger/translator'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
softledger-0.0.5 | lib/softledger.rb |