Module: Locomotive::Concerns::Page::ToSteam

Included in:
Page
Defined in:
app/models/locomotive/concerns/page/to_steam.rb

Instance Method Summary collapse

Instance Method Details

#to_steamObject


6
7
8
# File 'app/models/locomotive/concerns/page/to_steam.rb', line 6

def to_steam
  @steam_page ||= steam_repositories.page.build(self.attributes.symbolize_keys)
end