Sha256: 0e3f8faa0e13d25813b622a1d7d594475004af13e846d055afdd640a15d9167b

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

require "duty_calculator/client"

module DutyCalculator
  class Category
    def self.list_all
      conn = DutyCalculator::Client.new
      conn.get "#{DutyCalculator::Client.api_base}/categories"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
duty_calculator-0.0.1 lib/duty_calculator/category.rb