class Alma::AlmaRecord
Public Class Methods
new(record)
click to toggle source
# File lib/alma/alma_record.rb, line 5 def initialize(record) @raw_record = record post_initialize() end
Public Instance Methods
method_missing(name)
click to toggle source
Calls superclass method
# File lib/alma/alma_record.rb, line 10 def method_missing(name) return response[name.to_s] if response.has_key?(name.to_s) super.method_missing name end
post_initialize()
click to toggle source
# File lib/alma/alma_record.rb, line 23 def post_initialize # Subclasses can define this method to perform extra initialization # after the super class init. end
respond_to_missing?(name, include_private = false)
click to toggle source
Calls superclass method
# File lib/alma/alma_record.rb, line 15 def respond_to_missing?(name, include_private = false) response.has_key?(name.to_s) || super end
response()
click to toggle source
# File lib/alma/alma_record.rb, line 19 def response @raw_record end