class Ayadn::PostMentionObject

Attributes

amended_len[R]
id[R]
input[R]
is_leading[R]
len[R]
name[R]
pos[R]

Public Class Methods

new(hash) click to toggle source
# File lib/ayadn/post_object.rb, line 34
def initialize hash
  @input = hash
  @is_leading = @input["is_leading"]
  @pos = @input["pos"]
  @id = @input["id"]
  @len = @input["len"]
  @name = @input["name"]
  @amended_len = @input["amended_len"]
end