Sha256: c44f04f678bcc7eb755abec3f54690cf01f55ed649d8cd9bcc3b879a85aa70ab
Contents?: true
Size: 437 Bytes
Versions: 10
Compression:
Stored size: 437 Bytes
Contents
require 'equalizer' require 'twitter/base' module Twitter class Identity < Twitter::Base include Equalizer.new(:id) # @return [Integer] attr_reader :id # Initializes a new object # # @param attrs [Hash] # @raise [ArgumentError] Error raised when supplied argument is missing an :id key. # @return [Twitter::Identity] def initialize(attrs = {}) attrs.fetch(:id) super end end end
Version data entries
10 entries across 10 versions & 1 rubygems