Sha256: 3acf81146f1bb0ebda48568c5fb90d7a7175313569170c5a409b10c14fb537a4

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

module Devrant
  class Api
    attr_reader :rants
    
    BASE_URI = 'https://www.devrant.io/api'

    def initialize
      options = {
        query: {
          app: 3
        },
        base_uri: BASE_URI
      }

      @rants = Devrant::Rants.new
      @rants.class.default_options = options
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devrant-0.0.1 lib/devrant/api.rb