Sha256: e98e1a6395feeb9c78c36b6e24f95c615e1dbda6f5cc929b23ee25bfd0da84ed
Contents?: true
Size: 519 Bytes
Versions: 1
Compression:
Stored size: 519 Bytes
Contents
require 'hashie' require 'httparty' module Hoptoad extend self attr_accessor :secure class HoptoadError < StandardError; end def account=(account) @account = account end def account "#{protocol}://#{@account}.hoptoadapp.com" end def auth_token=(token) @auth_token = token end def auth_token @auth_token end def protocol secure ? "https" : "http" end end require 'hoptoad-api/version' require 'hoptoad-api/core_extensions' require 'hoptoad-api/client'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hoptoad-api-2.0.1 | lib/hoptoad-api.rb |