lib/highrise_mapper/context.rb in highrise_mapper-0.0.2 vs lib/highrise_mapper/context.rb in highrise_mapper-0.0.3
- old
+ new
@@ -1,20 +1,16 @@
module HighriseMapper
module Context
- module ClassMethods
- end
-
module InstanceMethods
def setup_highrise
Highrise::Base.site = self.highrise_base_url
Highrise::Base.user = self.highrise_token
Highrise::Base.format = :xml
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