Sha256: d1d36ddb48bd791a4df4e7c6065710b67ba5010529daec2eca6fd4b336b3852d

Contents?: true

Size: 388 Bytes

Versions: 7

Compression:

Stored size: 388 Bytes

Contents

module ShelbyArena

  class FundReader < ApiReader

    # Constructor.
    #
    # @param fund_id (optional) The ID of the fund to load.
    def initialize(fund_id = nil)
      if fund_id.nil?
        raise 'The create endpoint is not known yet.'
        @url_new_data_path = nil # Not sure yet
      else
        @url_data_path = "fund/#{fund_id}"
      end      
    end
    
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shelby-arena-api-0.3.2 lib/readers/fund_reader.rb
shelby-arena-api-0.3.1 lib/readers/fund_reader.rb
shelby-arena-api-0.3.0 lib/readers/fund_reader.rb
shelby-arena-api-0.2.2 lib/readers/fund_reader.rb
shelby-arena-api-0.2.1 lib/readers/fund_reader.rb
shelby-arena-api-0.2.0 lib/readers/fund_reader.rb
shelby-arena-api-0.1.0 lib/readers/fund_reader.rb