lib/oanda_api/client/client.rb in oanda_api-0.8.3 vs lib/oanda_api/client/client.rb in oanda_api-0.9.0

- old
+ new

@@ -6,11 +6,11 @@ DOMAINS = [:live, :practice, :sandbox] # Provides everything needed for accessing the API. # # - Uses persistant http connections. - # - Uses +OpenSSL::SSL::VERIFY_PEER+ to always validate SSL certificates. + # - Uses `OpenSSL::SSL::VERIFY_PEER` to always validate SSL certificates. # - Uses compression if enabled (see {Configuration#use_compression}). # - Uses request rate limiting if enabled (see {Configuration#use_request_throttling}). module Client include HTTParty persistent_connection_adapter idle_timeout: 10, @@ -90,11 +90,11 @@ # @private # Maps An API _action_ to a corresponding http verb. # # @param [Symbol] method an API action. Supported actions are: - # +:create+, +:close+, +:delete+, +:get+, +:update+. + # `:create`, `:close`, `:delete`, `:get`, `:update`. # # @return [Symbol] an http verb. def self.map_method_to_http_verb(method) case method when :create @@ -165,10 +165,10 @@ end end # @private # Enables method-chaining. - # @return [Namespace] + # @return [NamespaceProxy] def method_missing(sym, *args) NamespaceProxy.new self, sym, args.first end end end