Sha256: b2090e1a4bb38c8b4ba10c9602c9a7043ac4ca7403b8922b5d0be9cf66a789b0
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
# frozen_string_literal: true require 'dribbble/utils/findable' require 'dribbble/utils/creatable' require 'dribbble/utils/updatable' require 'dribbble/utils/deletable' module Dribbble class Shot < Dribbble::Base include Dribbble::Utils::Findable include Dribbble::Utils::Creatable include Dribbble::Utils::Updatable include Dribbble::Utils::Deletable def self.available_fields %i[image title description low_profile rebound_source_id scheduled_for tags team_id] end def self.after_create(res) res.code == 202 ? res.headers[:location].split('/').last : false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dribbble-2.0.0 | lib/dribbble/shot.rb |