Module: Gearbox::SubjectMethods::ClassMethods
- Defined in:
- lib/gearbox/mixins/subject_methods.rb
Instance Method Summary collapse
- #base_uri(value = :_value_not_set) ⇒ Object
- #id_method(value = :_value_not_set) ⇒ Object
- #subject_decorator(value = :_value_not_set) ⇒ Object
Instance Method Details
#base_uri(value = :_value_not_set) ⇒ Object
10 11 12 13 |
# File 'lib/gearbox/mixins/subject_methods.rb', line 10 def base_uri(value=:_value_not_set) @base_uri = value unless value == :_value_not_set @base_uri end |
#id_method(value = :_value_not_set) ⇒ Object
15 16 17 18 |
# File 'lib/gearbox/mixins/subject_methods.rb', line 15 def id_method(value=:_value_not_set) @id_method = value unless value == :_value_not_set @id_method ||= :object_id end |
#subject_decorator(value = :_value_not_set) ⇒ Object
20 21 22 23 |
# File 'lib/gearbox/mixins/subject_methods.rb', line 20 def subject_decorator(value=:_value_not_set) @subject_decorator = value unless value == :_value_not_set @subject_decorator end |