Sha256: 28a829db99652330a5aa01c8d5b48e32c34a2283e101dd8b050e2a1e3469c915
Contents?: true
Size: 468 Bytes
Versions: 2
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Wordpress module Json module Api class Configuration attr_accessor :version, :faraday, :verbose def initialize self.version = 2 self.faraday = { adapter: :net_http, timeout: 60, open_timeout: 30, #user_agent: 'ENTER_A_CUSTOM_USER_AGENT_HERE' } self.verbose = false end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wordpress-json-api-0.1.3 | lib/wordpress/json/api/configuration.rb |
wordpress-json-api-0.1.2 | lib/wordpress/json/api/configuration.rb |