Sha256: 910213249a0bc2231b57bd3c2b50097f8693f4d7447835e712a88948e15b6e6b

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

module Rubyoverflow
  class Sites
    @client = nil
    def fetch(params = {})
      @client ||= Client.stackauth_client

      hash,url = @client.request 'sites', params

      Hashie::Mash.new hash
    end
  end

  class Client
    @sites = nil

    def sites
      @sites ||= Sites.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyoverflow-0.5 lib/rubyoverflow/sites.rb