Sha256: fed6b94518bd6741dabe3121ccd69e3a1b15c6292ab7ecf6cbc2feaf93e9dddd

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 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-2.0.2.pre1 lib/rubyoverflow/sites.rb