module Materialist::MaterializedRecord

Public Class Methods

included(base) click to toggle source
# File lib/materialist/materialized_record.rb, line 6
def self.included(base)
  base.extend ClassMethods
end

Public Instance Methods

source() click to toggle source
# File lib/materialist/materialized_record.rb, line 30
def source
  source_raw.body
end

Private Instance Methods

source_raw() click to toggle source
# File lib/materialist/materialized_record.rb, line 36
def source_raw
  Materialist.configuration.api_client.get(source_url)
end