class Neows::Client
Attributes
base_url[RW]
Public Class Methods
new(options = {}) { |self| ... }
click to toggle source
Initializes a new Client
object
@param options [Hash] @return [Neows::Client]
# File lib/neows/client.rb, line 11 def initialize(options = {}) options.each do |key, value| instance_variable_set("@#{key}", value) end yield(self) if block_given? end
Public Instance Methods
user_agent()
click to toggle source
@return [String]
# File lib/neows/client.rb, line 23 def user_agent "NeowsRubyGem/#{Neows::VERSION}" end