Class: Twitter::RESTParameterSpec

Inherits:
Object
  • Object
show all
Includes:
ClassUtilMixin
Defined in:
lib/vendor/twitter/lib/twitter/core.rb

Overview

Remote REST API method parameter representation

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ClassUtilMixin

included

Instance Attribute Details

#nameObject

Returns the value of attribute name.



134
135
136
# File 'lib/vendor/twitter/lib/twitter/core.rb', line 134

def name
  @name
end

#requiredObject

Returns the value of attribute required.



134
135
136
# File 'lib/vendor/twitter/lib/twitter/core.rb', line 134

def required
  @required
end

#typeObject

Returns the value of attribute type.



134
135
136
# File 'lib/vendor/twitter/lib/twitter/core.rb', line 134

def type
  @type
end

Instance Method Details

#required?Boolean

Returns:

  • (Boolean)


135
# File 'lib/vendor/twitter/lib/twitter/core.rb', line 135

def required?; @required; end