lib/ruby_lokalise_api.rb in ruby-lokalise-api-7.2.0 vs lib/ruby_lokalise_api.rb in ruby-lokalise-api-8.0.0.rc1
- old
+ new
@@ -2,18 +2,22 @@
require 'zeitwerk'
require 'faraday'
require 'faraday/gzip'
require 'yaml'
-require 'addressable'
+require 'addressable/template'
loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect(
'oauth2' => 'OAuth2',
- 'oauth2_client' => 'OAuth2Client'
+ 'oauth2_client' => 'OAuth2Client',
+ 'oauth2_endpoint' => 'OAuth2Endpoint',
+ 'oauth2_token' => 'OAuth2Token',
+ 'oauth2_refreshed_token' => 'OAuth2RefreshedToken'
)
loader.setup
+# Official Ruby client for Lokalise APIv2
module RubyLokaliseApi
class << self
# Initializes a new Client object
#
# @return [RubyLokaliseApi::Client]