Sha256: 78ce8492a87cb4753b38df23d81ed4e540cff0e0077038e75a96e68f0706c5d1
Contents?: true
Size: 649 Bytes
Versions: 1
Compression:
Stored size: 649 Bytes
Contents
require 'httparty' require 'json' module Gerry class Client include HTTParty headers 'Accept' => 'application/json' require_relative 'client/accounts' require_relative 'client/changes' require_relative 'client/groups' require_relative 'client/projects' require_relative 'client/request' include Accounts include Changes include Groups include Projects include Request def initialize(url, username = nil, password = nil) self.class.base_uri(url) if username && password @username = username @password = password end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gerry-0.0.3 | lib/gerry/client.rb |