lib/highrise_mapper/person.rb in highrise_mapper-0.0.2 vs lib/highrise_mapper/person.rb in highrise_mapper-0.0.3
- old
+ new
@@ -1,10 +1,7 @@
module HighriseMapper
module Person
-
- module ClassMethods
- end
module InstanceMethods
def save_to_highrise
unless HighriseMapper.config['person'].is_a? Hash
raise 'Your highrise_mapper.yml does not contain the "person" configuration key.'
@@ -48,10 +45,9 @@
return new_hash
end
end
def self.included(receiver)
- receiver.extend ClassMethods
receiver.send :include, InstanceMethods
check_expected_behavior(receiver)
end
private
\ No newline at end of file