Sha256: 4dbde27bfc46cac7c487d5df3b88ff71055f351dab990f5d6c05286ac9e39f77
Contents?: true
Size: 326 Bytes
Versions: 5
Compression:
Stored size: 326 Bytes
Contents
# Simple class for service structure class BungieClient::Service attr_reader :method_type, :name, :endpoint def initialize(options) @method_type = ((%w(get post).include? options[:method]) ? options[:method] : 'get') @name = options[:name].to_s @endpoint = options[:endpoint].to_s end end
Version data entries
5 entries across 5 versions & 1 rubygems