Module: Twithub::EntryBuilderMethods

Included in:
GithubEntry, TwitterEntry
Defined in:
lib/twithub/entry_builder_methods.rb

Instance Method Summary collapse

Instance Method Details

#with_content(content) ⇒ Object



3
4
5
6
# File 'lib/twithub/entry_builder_methods.rb', line 3

def with_content(content)
  @content = content
  self
end

#with_posted_at(posted_at) ⇒ Object



13
14
15
16
# File 'lib/twithub/entry_builder_methods.rb', line 13

def with_posted_at(posted_at)
  @posted_at = posted_at
  self
end

#with_url(url) ⇒ Object



18
19
20
21
# File 'lib/twithub/entry_builder_methods.rb', line 18

def with_url(url)
  @url = url
  self
end

#with_username(username) ⇒ Object



8
9
10
11
# File 'lib/twithub/entry_builder_methods.rb', line 8

def with_username(username)
  @username = username
  self
end