Sha256: 76c632f87cb3b0d2a7371cb02a5c0c9363761f0c4613c7f19347052d67a7b99c
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
# To change this template, choose Tools | Templates # and open the template in the editor. module Jiralicious class CustomFieldOption < Jiralicious::Base def initialize(decoded_json, default = nil, &blk) @loaded = false if decoded_json.is_a? Hash properties_from_hash(decoded_json) super(decoded_json) parse!(decoded_json) @loaded = true end end class << self def endpoint_name "customFieldOption" end def find(id, options = {}) response = fetch({:key => id}) response.parsed_response['id'] = id new(response.parsed_response) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jiralicious-0.2.0 | lib/jiralicious/custom_field_option.rb |