Sha256: d71163dd7e50520fb8fa26ccf7ff5ed30bca40ba36e4309d0fa4e4346ef58c34

Contents?: true

Size: 304 Bytes

Versions: 6

Compression:

Stored size: 304 Bytes

Contents

module Idonethis
  module Index
    class << self
      def dones(params={})
        %Q{#{dones_base_earl}?#{params.map{|k,v| "#{k}=#{v}"}.join('&')}}
      end
      
      private
      
      def dones_base_earl
       "https://idonethis.com/api/v0.1/dones/"
      end
    end 
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
idonethis-cli-0.11.0 lib/idonethis/index.rb
idonethis-cli-0.10.0 lib/idonethis/index.rb
idonethis-cli-0.9.0 lib/idonethis/index.rb
idonethis-cli-0.8.1 lib/idonethis/index.rb
idonethis-cli-0.8.0 lib/idonethis/index.rb
idonethis-cli-0.7.0 lib/idonethis/index.rb