class BrightSerializer::Entity::Parser
Attributes
endpoint[R]
model[R]
Public Class Methods
new(model, endpoint)
click to toggle source
# File lib/bright_serializer/entity/parser.rb, line 8 def initialize(model, endpoint) @model = model @endpoint = endpoint end
Public Instance Methods
call()
click to toggle source
# File lib/bright_serializer/entity/parser.rb, line 13 def call @model.entity end