Sha256: a07b656e4801eaeb885e099aa0201c360b8eb15381a8dfd828bdcf7c104fce73
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
module Alma class Fine < AlmaRecord extend Alma::ApiDefaults def self.where_user(user_id, args={}) response = HTTParty.get("#{users_base_path}/#{user_id}/fees", query: args, headers: headers, timeout: timeout) if response.code == 200 Alma::FineSet.new(response) else raise StandardError, get_body_from(response) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alma-0.3.1 | lib/alma/fine.rb |