Sha256: 7e804a07d394560eb4441e97af9d4bb02fcfbb1ec019699cdb2e2429ac7d0162

Contents?: true

Size: 751 Bytes

Versions: 5

Compression:

Stored size: 751 Bytes

Contents

---
title: 'Getting started with `Trifle::Docs`'
date: '2022-06-20 15:25:55 +0200'
tags: ['some', 'tag']
nav_order: -1
---

# Getting started with `Trifle::Docs`

Welcome to our first post

![Screen](screen.png)

## Time to get serious

Yeah, lets do that

## Or maybe no

Ok.

```ruby
require 'rest-client'

module Cron
  class SubmitSomethingWorker
    include Sidekiq::Worker

    def perform(some_id)
      Rails.logger.info "Start processing"
      something = Something.find(some_id)
      Rails.logger.info "Found record in DB"
      body = { code: something.code, count: 100 }
      Rails.logger.info "Sending payload: #{body}"

      RestClient.post('http://example.com/something', body)
      Rails.logger.info "Done?"
    end
  end
end
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trifle-docs-0.3.1 docs/blog/2022-06-20_getting_started_with_trifle_docs.md
trifle-docs-0.3.0 docs/blog/2022-06-20_getting_started_with_trifle_docs.md
trifle-docs-0.2.0 docs/blog/2022-06-20_getting_started_with_trifle_docs.md
trifle-docs-0.1.1 docs/blog/2022-06-20_getting_started_with_trifle_docs.md
trifle-docs-0.1.0 docs/blog/2022-06-20_getting_started_with_trifle_docs.md