Class: Blogger::Configuration

Inherits:
Object
  • Object
show all
Includes:
GetPosts
Defined in:
lib/blogger/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetPosts

#get_blogposts

Constructor Details

#initialize {|_self| ... } ⇒ Configuration

Returns a new instance of Configuration.

Yields:

  • (_self)

Yield Parameters:



8
9
10
# File 'lib/blogger/configuration.rb', line 8

def initialize
  yield(self) if block_given?
end

Instance Attribute Details

#blog_idObject

Returns the value of attribute blog_id.



6
7
8
# File 'lib/blogger/configuration.rb', line 6

def blog_id
  @blog_id
end

#keyObject

Returns the value of attribute key.



6
7
8
# File 'lib/blogger/configuration.rb', line 6

def key
  @key
end

#max_resultObject

Returns the value of attribute max_result.



6
7
8
# File 'lib/blogger/configuration.rb', line 6

def max_result
  @max_result
end