class Eyeofsatoshi::Base

Attributes

options[RW]

Public Class Methods

new(options) click to toggle source
# File lib/eyeofsatoshi.rb, line 11
def initialize(options)
  @options = options
end

Public Instance Methods

parsed_response(response) click to toggle source
# File lib/eyeofsatoshi.rb, line 20
def parsed_response(response)
  "#{__method__}"
end
request(type, url, opts = {}) click to toggle source
# File lib/eyeofsatoshi.rb, line 14
def request(type, url, opts = {})
  HTTParty
    .send(type, url, opts)
    .yield_self { |response| parsed_response(response) }
end